package com.pureut.system.controller;

import com.pureut.common.core.web.controller.BaseController;
import com.pureut.common.core.web.page.TableDataInfo;
import com.pureut.common.security.annotation.RequiresPermissions;
import com.pureut.system.domain.SysDocument;
import com.pureut.system.domain.SysPdaOplog;
import com.pureut.system.domain.vo.SysDocumentVo;
import com.pureut.system.domain.vo.SysPdaOplogVo;
import com.pureut.system.service.impl.SysPdaOplogServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author: YSL
 * @Date: 2023/1/4 11:54
 * @Desc: PDA操作日志 结果
 */
@RestController
@RequestMapping("/oplog")
public class SysPdaOplogController extends BaseController {

    /**
     * PDA操作日志服务层
     */
    @Autowired
    private SysPdaOplogServiceImpl sysPdaOplogService;

    /**
     * 获取PDA操作日志
     */
    @RequiresPermissions("system:oplog:list")
    @GetMapping("/list")
    public TableDataInfo list(SysPdaOplogVo sysPdaOplogVo)
    {
        startPage();
        List<SysPdaOplog> list = sysPdaOplogService.selectPdaOplogList(sysPdaOplogVo);
        return getDataTable(list);
    }

}
